﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModelLayer
{
    public class Car
    {
        public int CarId { get; set; }
        public string BrandName { get; set; }
        public string ModelName { get; set; }
        public string CarType { get; set; }
        public string Colour { get; set; }
        public int YearModel { get; set; }
        public string Vin { get; set; }
        public int KilometerDriven { get; set; }
        public int NumberOfGears { get; set; }
        public int MinimumPrice { get; set; }
        public bool Inspection { get; set; }
        public string Offer { get; set; }
        public bool Bought { get; set; }

        public Car()
        {

        }

        public Car(string brandName, string modelName, string carType, string colour, int yearModel, string vin, int kilometerDriven, int numbersOfGears, int minimumPrice)
        {
            this.BrandName = brandName;
            this.ModelName = modelName;
            this.CarType = carType;
            this.Colour = colour;
            this.YearModel = yearModel;
            this.Vin = vin;
            this.KilometerDriven = kilometerDriven;
            this.NumberOfGears = numbersOfGears;
            this.MinimumPrice = minimumPrice;
        }
    }
}
